<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field.keywords/}" />
<meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
<link href="/img/css.css" rel="stylesheet" media="screen" type="text/css" />
<link href="/img/zuche.css" rel="stylesheet" media="screen" type="text/css" />
<script language="javascript" src="/img/js/showMsgDiv.js"></script>
<script language="javascript" src="/img/js/line.js"></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmspath/}/images/js/j.js" ></script>
<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script language="javascript" type="text/javascript">
function CheckLogin(){
	  var taget_obj = document.getElementById('_ajax_feedback');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("{dede:global.cfg_cmsurl/}/users/ajax_feedback.php");
	  DedeXHTTP = null;
}
function Check_head_Login(){
	  var taget_obj = document.getElementById('_Check_head_Login');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("{dede:global.cfg_cmsurl/}/users/ajax_head.php");
	  DedeXHTTP = null;
}
</script>

<script language="javascript" src="/img/js/all.js"></script>
<script language="javascript" src="/img/js/Calendarjd.js"></script>

<script language=javascript>
function ValidateEmail(strEmail) { 
	if (strEmail.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1) 
		return true; 
	else 
		return false;
}
function submitf(){
	var fn=document.HotelS;
	if (fn.kfnums.value <=0) {
		alert("请输入预订台数!!");
		fn.kfnums.focus();
		return false;
	}
	if (fn.days.value <=0) {
		alert("预定天数错误!");
		fn.days.focus();
		return false;
	}
	
	if (fn.txtComeDate.value.length == '') {
		alert("开始用车日期不能为空");
		fn.txtComeDate.focus();
		return false
	}


	if (fn.crealname.value.length == 0) {
		alert("请输入联系人姓名!!");
		fn.crealname.focus();
		return false
	}
	

	
	if(fn.cemail.value!="" && !ValidateEmail(fn.cemail.value)){
		window.alert("请输入有效的邮件地址!!");
		fn.cemail.focus();
		return false;
	}
	
	if (fn.cmobile.value!="" && fn.cmobile.value.length!=11) {
		window.alert("请输入有效的手机号码!!");
		fn.cmobile.focus();
		return false;
	}
	
	if(fn.cemail.value=="" && fn.cmobile.value==""){
		window.alert("请输入有效的邮件地址或有效手机号码!!");
		fn.cemail.focus();
		return false;
	}
	
	if (fn.ctel.value!="" && fn.ctel.value.length<7) {
		window.alert("请输入有效的电话号码!!");
		fn.cmobile.focus();
		return false;
	}
	
	if(fn.cmobile.value=="" && fn.ctel.value==""){
		window.alert("手机号码与电话号码不能同时为空!!");
		fn.cmobile.focus();
		return false;
	}
	
	if(fn.cmessage.value.length>500){
		alert("预定留言须在500字以内!");
		fn.cmessage.focus();
		return false;
	}
	fn.buttonpay.disabled=true;
	fn.submit();
}

function senfe(){

	document.getElementById("totalprice").value=Number(document.getElementById("kfnums").value)*Number(document.getElementById("wwwprice").value)*Number(document.getElementById("days").value);
	
	document.getElementById("totalpricetxt").innerHTML=", 总计"+document.getElementById("totalprice").value+"元";
}
function openidn(){
	document.getElementById("openidbb").style.display="block";
	document.getElementById("openidkk").style.display="none";
}
function viewpay(name,cursel,n){
	for(i=1;i<=n;i++){
		var con=document.getElementById("con_"+name+"_"+i);
		con.style.display=i==cursel?"block":"none";
	}
}
</script>

</head>
<body>
{dede:include filename="head.htm"/}
<!--Main-->
<DIV style="BACKGROUND: #f5fafe" id=page><!--tline_show Left-->

<DIV id=tline_l>
<div class="zc_left">
<div class="zc_pbox">
<div class="zc_bpic">
<script language='javascript'> 
linkarr = new Array();
picarr = new Array();
textarr = new Array();
var swf_width=300;
var swf_height=200;
var files = "";
var links = "";
var texts = "";


{dede:field.pichdp/}


for(i=1;i<picarr.length;i++){
  if(files=="") files = picarr[i];
  else files += "|"+picarr[i];
}
for(i=1;i<linkarr.length;i++){
  if(links=="") links = linkarr[i];
  else links += "|"+linkarr[i];
}
for(i=1;i<textarr.length;i++){
  if(texts=="") texts = textarr[i];
  else texts += "|"+textarr[i];
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="/img/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_config=0xffffff|2|0x8CA2AD|60|0xffffff|0xff9900|0x000033|2|3|1|_blank">');  
document.write('<embed src="/img/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); 
</script>
</div>

<div class="zc_info"><h2>{dede:field.title/}<span>{dede:field.jiage/}元/天</span></h2>
<p>车型:{dede:field.cx/}<br />
载客: {dede:field.zk/}人<br />
车况: {dede:field.ck/}<br />
数量: 当前可用 {dede:field.sl/} 辆<br />
说明: {dede:field.sm/}</p>
</div>
</div>
<div class="clear_iii"></div>
<a name="#reserved"></a>

<div class="order_zc_info">预订该车辆(以下预定只针对按天租车情况，安行程与单独包车请电话咨询)</div>

<form action="/order/188_order_zuche.php" method="post" name="HotelS" id="HotelS" style="margin:0px;">
<input type="hidden" name="id" value="{dede:field.aid/}" />
<input type="hidden" name="wwwprice" id="wwwprice" value="{dede:field.jiage/}" />
<input name="totalprice" type="hidden" id="totalprice" value="{dede:field.jiage/}" />
<input name="title" type="hidden" id="title" value="{dede:field.title/}" />
<div class="order_box" id="order_box">
 <ul>
  <li class="left">您选择的车型:<em class="bai">*</em> </li>
  <li class="right">{dede:field.title/}</li>
  <li class="left2">请输入预订台数:<em>*</em> </li>
  <li class="right2"><input class="inp3" onkeypress="javascript:if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" id="kfnums" onblur="this.className='inp3'" onkeyup="senfe();"  onfocus="this.className='inp3_on'" maxlength="3" size="5" name="kfnums" value="1" /> 台 </li>
  <li class="left">请输入预订天数:<em>*</em> </li>
  <li class="right"><input class="inp3" onkeypress="javascript:if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" id="days" onblur="this.className='inp3'" onkeyup="senfe();"  onfocus="this.className='inp3_on'" maxlength="3" size="5" name="days" value="1" /> 天 <strong class="price" id="totalpricetxt">, 总计{dede:field.jiage/}元</strong> </li>
  <li class="left">用车开始日期:<em>*</em> </li>
  <li class="right"><input name="txtComeDate" id="txtComeDate"  type="text" onblur="this.className='inp'" onfocus="this.className='inp_on'" class="inp" maxlength="10" onClick="javascript:event.cancelBubble=true;showCalendar('txtComeDate',false,'txtComeDate','txtOutDate','txtOutDate','','2010-12-25','','','','text','');" readonly="readonly" /></li>
  
  <li class="left">用车结束日期:<em></em> <li>  <li class="right"><input type="text"  class="inp"  onblur="this.className='inp'" onfocus="this.className='inp_on'" name="txtOutDate" id="txtOutDate"  readonly="true" /></li>
  
  <li class="left">联系人姓名:<em>*</em> </li>
  <li class="right"><input class="inp" onblur="this.className='inp'" onfocus="this.className='inp_on'" maxlength="20" name="crealname" value="{dede:field.name_/}" /> <select name="xingbie">
<option value="1" >先生</option>
<option value="2" >女士</option>
</select></li>
  <li class="left">Email地址:<em>*</em> </li>
  <li class="right"><input class="inp" onblur="this.className='inp'" onfocus="this.className='inp_on'" maxlength="30" name="cemail" value="{dede:field.mail_/}"/> Email与手机号码需填一个做为会员账号</li>
  
  <li class="left">手机号码:<em>*</em> </li>
  <li class="right"><input class="inp" onblur="this.className='inp'" onfocus="this.className='inp_on'" maxlength="11" onkeypress="javascript:if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;" name="cmobile" value="{dede:field.mb_/}"/> <span style="color:#0000FF">请填写真实的号码，系统自动注册为会员</span></li>
  
  <li class="left">固定电话:<em class="bai">*</em> </li>
  <li class="right"><input class="inp" onblur="this.className='inp'" onfocus="this.className='inp_on'" maxlength="15" name="ctel" value="{dede:field.tel_/}" /> 手机号码与电话号码需选填一个</li>
<li class="left">确认方式:<em class="bai">*</em></li>
<li class="right"><select name="querenfs">
<option value="1" selected="selected">邮件确认</option><option value="2" >短信确认</option><option value="3" >电话确认</option></select>
</li>  
  <li class="left">预定留言:<em class="bai">*</em> </li>
  <li class="right"><textarea class="order_ly" name="cmessage" rows="2" wrap="virtual" cols="55"></textarea> </li>
 </ul>
</div>
<div class="clear_ii"></div>
  
 <!--
<div class="payweb_box" id="order_fo">
<ul>
<li><span class="left">请选择支付方式:<em>*</em></span><span class="right"><label for="t1"><input type="radio" name="paymentid" id="t1" value="1" onclick="viewpay('pay',1,3)" checked="checked" />支付宝</label>&nbsp;&nbsp;<label for="t6"><input type="radio" name="paymentid" id="t6" value="6" onclick="viewpay('pay',2,3)"  />银行汇款</label>&nbsp;&nbsp;<label for="t7"><input type="radio" name="paymentid" id="t7" value="7" onclick="viewpay('pay',3,3)"  />门市现付/刷卡</label></span></li>
</ul>
</div>
<div id="con_pay_1"  style="padding:0 15px 10px 15px;"></div>
<div id="con_pay_2" style="display:none;padding:0 15px 10px 55px;">如果您没有开通网上银行，可以选择银行汇款或转账，<A style="COLOR: #0000ff" href="#" target=_blank><U>点击查看付款方式与注意事项</U></A></div>
<div id="con_pay_3" style="display:none;padding:0 15px 10px 55px;">门市地址：</div>
-->

<div style="text-align:center; width:456px; padding:0 0 30px 0; margin-top:10px;">
<input name="buttonpay" type="button" class="order_bt" onclick="javascript:submitf();" onmouseover="this.className='order_bt_hover'" onmouseout="this.className='order_bt'" value="" />
</div>
</form>
</div>


<!-- 0 同类主题 -->
<div class="clear_iii"></div>
<div class="zcr_dh1">查看其它车型</div>
<div class="other_zc">

 {dede:arclist titlelen=42 row=10}
<a href="[field:arcurl/]" target="_blank"><img src="[field:litpic/]" alt="[field:title/]"><strong>[field:zk/]</strong>[field:title/]</a>
 {/dede:arclist}

</div>
<!-- 1 同类主题 -->
</div>









<DIV id=tl_rad1>
{dede:myad name='2'/}
</DIV>

<DIV id=tlr_title>
<H3>最新线路</H3></DIV>
<UL id=tlr_list >
  {dede:arclist titlelen=42 row=10}
  <LI style="BORDER-TOP: medium none"><A title="[field:title/]" 
  href="[field:arcurl/]">[field:title/]</A></LI>
    {/dede:arclist}
  </UL>
  

<DIV id=tlr_title>
<H3>相关线路</H3></DIV>
<UL id=tlr_list>
 {dede:likearticle row='10' titlelen='42'} 
  <LI style="BORDER-TOP: medium none"><A title="[field:title/]" 
  href="[field:arcurl/]">[field:title/]</A></LI>
    {/dede:likearticle}
  </UL><!--最近浏览过的线路-->

<!--服务咨询-->
<DIV id=tlr_title>
<H3>服务咨询</H3></DIV>
<UL style="WIDTH: 195px; overflow:hidden;" id=server>
  <LI class=services_icon1><a target=blank href=tencent://message/?uin={dede:global.qq/}&Site={dede:global.cfg_webname/}&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:{dede:global.qq/}:10 alt="点击这里在线咨询"></a><BR><a target=blank href=tencent://message/?uin={dede:global.qqq/}&Site={dede:global.cfg_webname/}&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:{dede:global.qqq/}:10 alt="点击这里在线咨询"></a></LI>
  <LI 
  class=services_icon2><STRONG>客服电话</STRONG><BR><SPAN>{dede:global.tel/}</SPAN></LI>
  <LI 
  class=services_icon3><STRONG>工作时间</STRONG><BR>{dede:global.tel_time/}</LI></UL>
<DIV id=tl_rad2><script src='/plus/ad_js.php?aid=3' language='javascript'></script>
</DIV>
<div style="clear:both;"></div>
{dede:include filename="footer.htm"/}

<!--Footer_end--></BODY></HTML>
